//
//  JCBaseView.swift
//  JCTest3
//
//  Created by Chen on 10/10/2022.
//

import Cocoa

class JCBaseView: NSView {
    
    // NSButton, NSSplitView, NSTableView默认就是左手坐标系isFlipped = true
    override var isFlipped: Bool {
        return true
    }

    override func draw(_ dirtyRect: NSRect) {
        super.draw(dirtyRect)
        // Drawing code here.
        self.setupViewBackgroundColor(color: .white)
        
    }
    
//    override func mouseDown(with event: NSEvent) {
//        
//    }
    
}
